<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="Cask Data, Inc." name="author" />
<meta content="Copyright © 2014-2017 Cask Data, Inc." name="copyright" />


    <meta name="git_release" content="6.1.1">
    <meta name="git_hash" content="05fbac36f9f7aadeb44f5728cea35136dbc243e5">
    <meta name="git_timestamp" content="2020-02-09 08:22:47 +0800">
    <title>Command Line Interface API</title>

    <link rel="stylesheet" href="_static/cdap-bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="_static/bootstrap-3.3.6/css/bootstrap.min.css" type="text/css" />
    <link rel="stylesheet" href="_static/bootstrap-3.3.6/css/bootstrap-theme.min.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/bootstrap-sphinx.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/cdap-dynamicscrollspy-4.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/jquery.mCustomScrollbar.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/cdap-jquery.mCustomScrollbar.css" type="text/css" />
    <link rel="stylesheet" href="_static/css/abixTreeList-2.css" type="text/css" />
    <link rel="stylesheet" href="_static/cdap-bootstrap.css" type="text/css" />

    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '6.1.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  false
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <script type="text/javascript" src="_static/language_data.js"></script>

    <link rel="shortcut icon" href="_static/favicon.ico"/>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="top" title="Cask Data Application Platform 6.1.1 Documentation" href="index.html" />
    <link rel="next" title="CDAP HTTP RESTful API v3" href="http-restful-api/index.html" />
    <link rel="prev" title="Supported Characters" href="characters.html" />
    <!-- block extrahead -->
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <!-- block extrahead end -->

</head>
<body role="document">

<!-- block navbar -->
<div id="navbar" class="navbar navbar-inverse navbar-default navbar-fixed-top">
    <div class="container-fluid">
      <div class="row">
        <div class="navbar-header">
          <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
          <a class="navbar-brand" href="table-of-contents/../../index.html">
            <span><img alt="CDAP logo" src="_static/cdap_logo.svg"/></span>
          </a>

          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>

          <div class="pull-right">
            <div class="dropdown version-dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                role="button" aria-haspopup="true" aria-expanded="false">
                v 6.1.1 <span class="caret"></span>
              </a>
              <ul class="dropdown-menu">
                <li><a href="//docs.cdap.io/cdap/5.1.2/en/index.html">v 5.1.2</a></li>
                <li><a href="//docs.cdap.io/cdap/4.3.4/en/index.html">v 4.3.4</a></li>
              </ul>
            </div>
          </div>
          <form class="navbar-form navbar-right navbar-search" action="search.html" method="get">
            <div class="form-group">
              <div class="navbar-search-image material-icons"></div>
              <input type="text" name="q" class="form-control" placeholder="  Search" />
            </div>
            <input type="hidden" name="check_keywords" value="yes" />
            <input type="hidden" name="area" value="default" />
          </form>

          <div class="collapse navbar-collapse nav-collapse navbar-right navbar-navigation">
            <ul class="nav navbar-nav"><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link " href="table-of-contents/../../index.html">简介</a></li><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link " href="table-of-contents/../../guides.html">手册</a></li><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link current" href="table-of-contents/../../reference-manual/index.html">参考</a></li><li class="docsite-nav-tab-container"><a class="docsite-nav-tab-link " href="table-of-contents/../../faqs/index.html">帮助</a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>
  </div><!-- block navbar end -->
<!-- block main content -->
<div class="main-container container">
  <div class="row"><div class="col-md-2">
      <div id="sidebar" class="bs-sidenav scrollable-y-outside" role="complementary">
<!-- theme_manual: reference-manual -->
<!-- theme_manual_highlight: reference -->
<!-- sidebar_title_link: Reference -->

  <div role="note" aria-label="manuals links"><h3>Reference</h3>
    <ul class="reference-page-menu">
      <nav class="pagenav">
      <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="index.html"> Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="characters.html"> Supported Characters</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#"> Command Line Interface API</a></li>
<li class="toctree-l1"><a class="reference internal" href="http-restful-api/index.html"> HTTP RESTful API</a><ul>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/introduction.html">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/artifact.html">Artifact</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/configuration.html">Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/dataset.html">Dataset</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/lifecycle.html">Lifecycle</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/logging.html">Logging</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/metadata.html">Metadata</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/metrics.html">Metrics</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/monitor.html">Monitor</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/namespace.html">Namespace</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/dashboard.html">Dashboard</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/preferences.html">Preferences</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/profile.html">Profile</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/query.html">Query</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/reports.html">Reports</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/security.html">Security</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/service.html">Service</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/transactions.html">Transactions</a></li>
<li class="toctree-l2"><a class="reference internal" href="http-restful-api/workflow.html">Workflow</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="java-client-api.html"> Java Client API</a></li>
<li class="toctree-l1"><a class="reference internal" href="javadocs/index.html"> Javadocs</a></li>
<li class="toctree-l1"><a class="reference internal" href="release-notes.html"> 发行说明</a></li>
<li class="toctree-l1"><a class="reference internal" href="licenses/index.html"> Trademarks, Licenses, and Dependencies</a></li>
<li class="toctree-l1"><a class="reference internal" href="glossary.html"> 术语表</a></li>
<li class="toctree-l1"><a class="reference internal" href="genindex.html"> Index</a></li>
</ul>
</nav>
    </ul>
  </div></div>
    </div><div class="col-md-8 content" id="main-content">
    
  <div class="section" id="command-line-interface-api">
<span id="cdap-cli"></span><span id="cli"></span><h1>Command Line Interface API<a class="headerlink" href="#command-line-interface-api" title="Permalink to this headline">🔗</a></h1>
<div class="section" id="introduction">
<h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">🔗</a></h2>
<p>The Command Line Interface (CLI, or CDAP CLI) provides methods to interact with the CDAP server from within a shell,
similar to the HBase or <code class="docutils literal notranslate"><span class="pre">bash</span></code> shells. It is included by default within the CDAP Sandbox.</p>
<p>It can be <a class="reference external" href="../../admin-manual/installation/packages.html#packages-cli-package-installation" title="(in Cask Data Application Platform v6.1.1)"><span class="xref std std-ref">installed on Distributed CDAP</span></a>, in
which case it will be installed either in <code class="docutils literal notranslate"><span class="pre">/opt/cdap/cli</span></code> or, in the case of Cloudera
Manager, <code class="docutils literal notranslate"><span class="pre">opt/cloudera/parcels/cdap/cli/</span></code>.</p>
<p>The CLI may be used in two ways: interactive mode and non-interactive mode.</p>
<div class="section" id="interactive-mode">
<h3>Interactive Mode<a class="headerlink" href="#interactive-mode" title="Permalink to this headline">🔗</a></h3>
<p>To run the CLI in interactive mode, run the <code class="docutils literal notranslate"><span class="pre">cdap</span> <span class="pre">cli</span></code> executable with no arguments from a terminal:</p>

<script type="text/javascript">

  $(function tabbedparsedliteral1() {
    var tabs = ['linux', 'windows', 'linux1', 'linux2'];
    var mapping = {'windows': 'windows', 'linux1': 'linux', 'linux2': 'linux', 'linux': 'linux'};
    var tabSetID = 'linux-windows';
    for (var i = 0; i < tabs.length; i++) {
      var tab = tabs[i];
      $("#tabbedparsedliteral1 .example-tab-" + tab).click(changeExampleTab(tab, mapping, "tabbedparsedliteral1", tabSetID));
    }
  });

</script>
<div id="tabbedparsedliteral1" class="tabbed-parsed-literal dependent-linux-windows">
<ul class="tabbed-parsed-literal nav-tabs">
<li class="example-tab example-tab-linux active"><a href="#">Linux</a></li>
<li class="example-tab example-tab-windows "><a href="#">Windows</a></li>
<li class="example-tab example-tab-linux1 "><a href="#">Distributed CDAP</a></li>
<li class="example-tab example-tab-linux2 "><a href="#">Cloudera Manager Clusters</a></li>
</ul>

<div class="tab-contents">

<div class="tab-pane tab-pane-linux active">
<div class="code code-tab">
<div class="highlight-console">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="gp">$</span> ./bin/cdap cli
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
<div class="tab-pane tab-pane-windows ">
<div class="code code-tab">
<div class="highlight-shell-session">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="gp">&gt;</span> .<span class="se">\b</span>in<span class="se">\c</span>dap.bat cli
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
<div class="tab-pane tab-pane-linux1 ">
<div class="code code-tab">
<div class="highlight-console">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="gp">$</span> /opt/cdap/cli/bin/cdap cli
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
<div class="tab-pane tab-pane-linux2 ">
<div class="code code-tab">
<div class="highlight-console">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="gp">$</span> /opt/cloudera/parcels/cdap/cli/bin/cdap cli
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
</div>
</div>
<p>The executable should bring you into a shell, with a prompt similar to:</p>
<div class="highlight container">
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">cdap (http://localhost:11015/namespace:default)&gt;</span>
</pre></div>
</div>
</div>
<p>This indicates that the CLI is currently set to interact with the CDAP server at <code class="docutils literal notranslate"><span class="pre">localhost</span></code>.</p>
<ul class="simple">
<li>To interact with a remote CDAP server, run the CLI by specifying the uri <code class="docutils literal notranslate"><span class="pre">-u</span> <span class="pre">example.com</span></code>.</li>
<li>To change the current CDAP server, run the CLI command <code class="docutils literal notranslate"><span class="pre">connect</span> <span class="pre">example.com</span></code>.</li>
<li>To connect to an SSL-enabled CDAP server, run the CLI with arguments <code class="docutils literal notranslate"><span class="pre">-u</span> <span class="pre">https://example.com</span></code>.</li>
</ul>
<p>For example, with the arguments <code class="docutils literal notranslate"><span class="pre">-u</span> <span class="pre">example.com</span></code>, the CLI would be interacting with
a CDAP instance at <code class="docutils literal notranslate"><span class="pre">example.com</span></code>, using the default port <code class="docutils literal notranslate"><span class="pre">11015</span></code>:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">cdap (http://example.com:11015/namespace:default)&gt;</span>
</pre></div>
</div>
<p>To list all of the available commands, enter the CLI command <code class="docutils literal notranslate"><span class="pre">help</span></code>:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">cdap (http://localhost:11015/namespace:default)&gt; help</span>
</pre></div>
</div>
<p>In this documentation, to save space, this prompt is abbreviated to:</p>
<div class="highlight container">
<pre class="literal-block">
<span class="gp">cdap &gt;</span>
</pre>
</div>
</div>
<div class="section" id="non-interactive-mode">
<h3>Non-Interactive Mode<a class="headerlink" href="#non-interactive-mode" title="Permalink to this headline">🔗</a></h3>
<p>To run the CLI in non-interactive mode, run the CDAP CLI executable, passing the command you want executed
as the argument. For example, to list all applications currently deployed to CDAP, execute:</p>

<script type="text/javascript">

  $(function tabbedparsedliteral2() {
    var tabs = ['linux', 'windows'];
    var mapping = {'windows': 'windows', 'linux': 'linux'};
    var tabSetID = 'linux-windows';
    for (var i = 0; i < tabs.length; i++) {
      var tab = tabs[i];
      $("#tabbedparsedliteral2 .example-tab-" + tab).click(changeExampleTab(tab, mapping, "tabbedparsedliteral2", tabSetID));
    }
  });

</script>
<div id="tabbedparsedliteral2" class="tabbed-parsed-literal dependent-linux-windows">
<ul class="tabbed-parsed-literal nav-tabs">
<li class="example-tab example-tab-linux active"><a href="#">Linux</a></li>
<li class="example-tab example-tab-windows "><a href="#">Windows</a></li>
</ul>

<div class="tab-contents">

<div class="tab-pane tab-pane-linux active">
<div class="code code-tab">
<div class="highlight-console">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="gp">$</span> cdap cli list apps
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
<div class="tab-pane tab-pane-windows ">
<div class="code code-tab">
<div class="highlight-shell-session">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="gp">&gt;</span> cdap cli list apps
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
</div>
</div>
</div>
<div class="section" id="connecting-to-secure-cdap-instances">
<h3>Connecting to Secure CDAP Instances<a class="headerlink" href="#connecting-to-secure-cdap-instances" title="Permalink to this headline">🔗</a></h3>
<p>When connecting to secure CDAP instances, the CLI will look for an access token located at
<code class="docutils literal notranslate"><span class="pre">~/.cdap.accesstoken.&lt;hostname&gt;</span></code> and use it if it exists and is valid. If not, the CLI will prompt
you for the required credentials to acquire an access token from the CDAP instance. Once acquired,
the CLI will save it to <code class="docutils literal notranslate"><span class="pre">~/.cdap.accesstoken.&lt;hostname&gt;</span></code> for later use and use it for the rest of
the current CLI session.</p>
</div>
<div class="section" id="options">
<h3>Options<a class="headerlink" href="#options" title="Permalink to this headline">🔗</a></h3>
<p>The CLI can be started with command-line options:</p>

<script type="text/javascript">

  $(function tabbedparsedliteral3() {
    var tabs = ['linux', 'windows'];
    var mapping = {'windows': 'windows', 'linux': 'linux'};
    var tabSetID = 'linux-windows';
    for (var i = 0; i < tabs.length; i++) {
      var tab = tabs[i];
      $("#tabbedparsedliteral3 .example-tab-" + tab).click(changeExampleTab(tab, mapping, "tabbedparsedliteral3", tabSetID));
    }
  });

</script>
<div id="tabbedparsedliteral3" class="tabbed-parsed-literal dependent-linux-windows">
<ul class="tabbed-parsed-literal nav-tabs">
<li class="example-tab example-tab-linux active"><a href="#">Linux</a></li>
<li class="example-tab example-tab-windows "><a href="#">Windows</a></li>
</ul>

<div class="tab-contents">

<div class="tab-pane tab-pane-linux active">
<div class="code code-tab">
<div class="highlight-console">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="go">usage: cdap cli [--autoconnect &lt;true|false&gt;] [--debug] [--help]</span>
<span class="go">                   [--verify-ssl &lt;true|false&gt;] [--uri &lt;uri&gt;][--script</span>
<span class="go">                   &lt;script-file&gt;]</span>
<span class="go"> -a,--autoconnect &lt;arg&gt;   If &quot;true&quot;, try provided connection (from uri)</span>
<span class="go">                          upon launch or try default connection if none</span>
<span class="go">                          provided. Defaults to &quot;true&quot;.</span>
<span class="go"> -d,--debug               Print exception stack traces.</span>
<span class="go"> -h,--help                Print the usage message.</span>
<span class="go"> -s,--script &lt;arg&gt;        Execute a file containing a series of CLI</span>
<span class="go">                          commands, line-by-line.</span>
<span class="go"> -u,--uri &lt;arg&gt;           CDAP instance URI to interact with in the format</span>
<span class="go">                          &quot;[http[s]://]&lt;hostname&gt;[:&lt;port&gt;[/&lt;namespace&gt;]]&quot;.</span>
<span class="go">                          Defaults to</span>
<span class="go">                          &quot;http://&lt;hostname&gt;.local:11015&quot;.</span>
<span class="go"> -v,--verify-ssl &lt;arg&gt;    If &quot;true&quot;, verify SSL certificate when making</span>
<span class="go">                          requests. Defaults to &quot;true&quot;.</span>
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
<div class="tab-pane tab-pane-windows ">
<div class="code code-tab">
<div class="highlight-shell-session">
<!-- tabbed-parsed-literal start -->
<div class="highlight"><pre><span></span><span class="go">usage: cdap.bat cli [--autoconnect &lt;true|false&gt;] [--debug] [--help]</span>
<span class="go">                    [--verify-ssl &lt;true|false&gt;] [--uri &lt;uri&gt;][--script</span>
<span class="go">                    &lt;script-file&gt;]</span>
<span class="go"> -a,--autoconnect &lt;arg&gt;   If &quot;true&quot;, try provided connection (from uri)</span>
<span class="go">                          upon launch or try default connection if none</span>
<span class="go">                          provided. Defaults to &quot;true&quot;.</span>
<span class="go"> -d,--debug               Print exception stack traces.</span>
<span class="go"> -h,--help                Print the usage message.</span>
<span class="go"> -s,--script &lt;arg&gt;        Execute a file containing a series of CLI</span>
<span class="go">                          commands, line-by-line.</span>
<span class="go"> -u,--uri &lt;arg&gt;           CDAP instance URI to interact with in the format</span>
<span class="go">                          &quot;[http[s]://]&lt;hostname&gt;[:&lt;port&gt;[/&lt;namespace&gt;]]&quot;.</span>
<span class="go">                          Defaults to</span>
<span class="go">                          &quot;http://&lt;hostname&gt;.local:11015&quot;.</span>
<span class="go"> -v,--verify-ssl &lt;arg&gt;    If &quot;true&quot;, verify SSL certificate when making</span>
<span class="go">                          requests. Defaults to &quot;true&quot;.</span>
</pre></div>
<!-- tabbed-parsed-literal end --></div>
</div>
</div>
</div>
</div>
</div>
<div class="section" id="settings">
<h3>Settings<a class="headerlink" href="#settings" title="Permalink to this headline">🔗</a></h3>
<p>Certain commands (<code class="docutils literal notranslate"><span class="pre">cli</span> <span class="pre">render</span> <span class="pre">as</span></code>, <code class="docutils literal notranslate"><span class="pre">connect</span></code>, and <code class="docutils literal notranslate"><span class="pre">use</span> <span class="pre">namespace</span></code>) affect how the CLI works for the duration of a session.</p>
<ul>
<li><p class="first">The command <code class="docutils literal notranslate"><span class="pre">cli</span> <span class="pre">render</span> <span class="pre">as</span> <span class="pre">&lt;table-renderer&gt;</span></code> (from the <a href="#id1"><span class="problematic" id="id2">`General`_</span></a> commands) sets how
table data is rendered. Valid options are either <code class="docutils literal notranslate"><span class="pre">alt</span></code> (the default) and <code class="docutils literal notranslate"><span class="pre">csv</span></code>. As
the <code class="docutils literal notranslate"><span class="pre">alt</span></code> option may split a cell into multiple lines, you may need to use <code class="docutils literal notranslate"><span class="pre">csv</span></code> if
you want to copy and paste the results into another application or include in a message.</p>
<ul>
<li><p class="first">With <code class="docutils literal notranslate"><span class="pre">cli</span> <span class="pre">render</span> <span class="pre">as</span> <span class="pre">alt</span></code> (the default), a command such as <code class="docutils literal notranslate"><span class="pre">list</span> <span class="pre">apps</span></code> will be output as:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">+================================+</span>
<span class="go">| app id      | description      |</span>
<span class="go">+=============+==================+</span>
<span class="go">| PurchaseApp | Some description |</span>
<span class="go">+=============+==================+</span>
</pre></div>
</div>
</li>
<li><p class="first">With <code class="docutils literal notranslate"><span class="pre">cli</span> <span class="pre">render</span> <span class="pre">as</span> <span class="pre">csv</span></code>, the same <code class="docutils literal notranslate"><span class="pre">list</span> <span class="pre">apps</span></code> would be output as:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">app id,description</span>
<span class="go">PurchaseApp,Some description</span>
</pre></div>
</div>
</li>
</ul>
</li>
<li><p class="first">The command <code class="docutils literal notranslate"><span class="pre">connect</span></code> (from the <a href="#id3"><span class="problematic" id="id4">`General`_</span></a> commands) allows you to connect to a CDAP
instance.</p>
</li>
<li><p class="first">The command <code class="docutils literal notranslate"><span class="pre">use</span> <span class="pre">namespace</span></code> (from the <a href="#id5"><span class="problematic" id="id6">`Namespace`_</span></a> commands) allows you to set the
namespace used with all subsequent commands. By default, all sessions start in the
<code class="docutils literal notranslate"><span class="pre">default</span></code> namespace.</p>
</li>
</ul>
</div>
</div>
<div class="section" id="available-commands">
<span id="cli-available-commands"></span><h2>Available Commands<a class="headerlink" href="#available-commands" title="Permalink to this headline">🔗</a></h2>
<p>These are the available commands:</p>
<blockquote>
<div><strong>Missing Input File</strong>,”Missing input file /home/vagrant/cdap-build/cdap/cdap-docs-gen/target/cdap-docs-cli.txt”</div></blockquote>
</div>
</div>

</div>
    <div class="col-md-2">
      <div id="right-sidebar" class="bs-sidenav scrollable-y" role="complementary">
        <div id="localtoc-scrollspy">
        </div>
      </div>
    </div></div>
</div>
<!-- block main content end -->
<!-- block footer -->
<footer class="footer">
      <div class="container">
        <div class="row">
          <div class="col-md-2 footer-left"><a title="Supported Characters" href="characters.html" />Previous</a></div>
          <div class="col-md-8 footer-center"><a class="footer-tab-link" href="table-of-contents/../../reference-manual/licenses/index.html">Copyright</a> &copy; 2014-2020 Cask Data, Inc.&bull; <a class="footer-tab-link" href="//docs.cask.co/cdap/6.1.1/cdap-docs-6.1.1-web.zip" rel="nofollow">Download</a> an archive or
<a class="footer-tab-link" href="//docs.cask.co/cdap">switch the version</a> of the documentation
          </div>
          <div class="col-md-2 footer-right"><a title="CDAP HTTP RESTful API v3" href="http-restful-api/index.html" />Next</a></div>
        </div>
      </div>
    </footer>
<!-- block footer end -->
<script type="text/javascript" src="_static/bootstrap-3.3.6/js/bootstrap.min.js"></script><script type="text/javascript" src="_static/js/bootstrap-sphinx.js"></script><script type="text/javascript" src="_static/js/abixTreeList-2.js"></script><script type="text/javascript" src="_static/js/cdap-dynamicscrollspy-4.js"></script><script type="text/javascript" src="_static/js/cdap-version-menu.js"></script><script type="text/javascript" src="_static/js/copy-to-clipboard.js"></script><script type="text/javascript" src="_static/js/jquery.mousewheel.min.js"></script><script type="text/javascript" src="_static/js/jquery.mCustomScrollbar.js"></script><script type="text/javascript" src="_static/js/js.cookie.js"></script><script type="text/javascript" src="_static/js/tabbed-parsed-literal-0.2.js"></script><script type="text/javascript" src="_static/js/cdap-onload-javascript.js"></script><script type="text/javascript" src="_static/js/cdap-version-menu.js"></script>
    <script src="https://cdap.gitee.io/docs/cdap/json-versions.js"/></script>
  </body>
</html>